package online.heycm.platform.common.tools.cipher;

import online.heycm.platform.common.tools.cipher.core.MD5Core;

/**
 * @author heycm
 * @since 2023/11/19 19:10
 */
public class MD5Encrypt {

    private MD5Encrypt() {}

    public static String encrypt(String content) {
        return MD5Core.encrypt(content);
    }

    public static String encrypt(String content, String salt) {
        return MD5Core.encrypt(content, salt);
    }

    public static String generateSalt(int length) {
        return MD5Core.generateSalt(length);
    }

}
